package com.black.app.domain.req.exercise.add;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "AppExerciseGroupAddReq", description = "添加锻炼动作组请求参数")
@Data
public class AppExerciseGroupAddReq {

    @ApiModelProperty(value = "系列id")
    @NotNull(message = "{exerciseseries.not.id}")
    private Long sid;

    @ApiModelProperty(value = "组重复次数")
    @NotNull(message = "{exercisegroup.not.repeats}")
    private Integer repeats;
}
